package com.dyh.pojo;

public class Category {

    private int id;

    /*
    * 分类的名称
    * */
    private String categoryName;

    /*
    * 分类创建人
    * */
    private int createUserId;

    public Category(int id, String categoryName, int createUserId) {
        this.id = id;
        this.categoryName = categoryName;
        this.createUserId = createUserId;
    }

    public Category() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(int createUserId) {
        this.createUserId = createUserId;
    }


    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", categoryName='" + categoryName + '\'' +
                ", createUserId=" + createUserId +
                '}';
    }
}


